home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / X11 / extensions / Xevie.h < prev    next >
C/C++ Source or Header  |  2006-04-12  |  2KB  |  86 lines

  1. /************************************************************
  2.  
  3. Copyright 2003 Sun Microsystems, Inc.
  4.  
  5. All rights reserved.
  6.  
  7. Permission is hereby granted, free of charge, to any person obtaining a
  8. copy of this software and associated documentation files (the
  9. "Software"), to deal in the Software without restriction, including
  10. without limitation the rights to use, copy, modify, merge, publish,
  11. distribute, and/or sell copies of the Software, and to permit persons
  12. to whom the Software is furnished to do so, provided that the above
  13. copyright notice(s) and this permission notice appear in all copies of
  14. the Software and that both the above copyright notice(s) and this
  15. permission notice appear in supporting documentation.
  16.  
  17. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  18. OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  19. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
  20. OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
  21. HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
  22. INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
  23. FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
  24. NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
  25. WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  26.  
  27. Except as contained in this notice, the name of a copyright holder
  28. shall not be used in advertising or otherwise to promote the sale, use
  29. or other dealings in this Software without prior written authorization
  30. of the copyright holder.
  31.  
  32. ************************************************************/
  33.  
  34. #ifndef _XEVIE_H_
  35. #define _XEVIE_H_
  36.  
  37. #include <X11/Xfuncproto.h>
  38.  
  39. #define X_XevieQueryVersion            0
  40. #define X_XevieStart                1
  41. #define X_XevieEnd                2
  42. #define X_XevieSend                3
  43. #define X_XevieSelectInput            4
  44.  
  45. #define XevieNumberErrors            0
  46.  
  47. #define XEVIE_UNMODIFIED    0
  48. #define XEVIE_MODIFIED   1
  49.  
  50. #ifndef _XEVIE_SERVER_
  51.  
  52. _XFUNCPROTOBEGIN
  53.  
  54. Bool XevieQueryVersion(
  55.     Display*            /* dpy */,
  56.     int*            /* major_version */,
  57.     int*            /* minor_version */
  58. );
  59.  
  60. extern Status XevieStart(
  61.     Display*            /* dpy */
  62. );
  63.  
  64. Status XevieEnd(
  65.     Display*            /* dpy */
  66. );
  67.  
  68. Status XevieSendEvent(
  69.     Display*                    /* dpy */,
  70.     XEvent*            /* event */,
  71.     int                /* data type */
  72. );
  73.  
  74. Status XevieSelectInput(
  75.     Display*                    /* dpy */,
  76.     long
  77. );
  78.  
  79.  
  80. _XFUNCPROTOEND
  81.  
  82. #endif /* _XEVIE_SERVER_ */
  83.  
  84. #endif /* _XEVIE_H_ */
  85.  
  86.